﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Mvc._5Dev.SettlementExpenses.ServiceReferenceSettlementExpenses.DailyExpense>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
         <div class="editor-label">
        Concept:
        <%= Html.ActionLink("Concept:", "Index", "CostConcept")%>
        </div>
        <div class="editor-field">
        <% foreach (var item in Model.CostConcepts)
  { %>
            <%= Html.CheckBox(item.Id.ToString(), item.IsSelected) %>
            &nbsp;
            <%= Html.Encode(item.Description) %>
            <% } %>
        </div>
        <div class="editor-label">
        Empleado:
        </div>
        <div class="editor-field">
        <select id="SelectSeccion" name="SelectSeccion">
            <option value="0">Seleccione</option>
            <%foreach (var item in Model.CostConcepts)
              { %>
            <option value="<%=item.Id %>">
                <%=item.Description%></option>
            <%} %>
        </select>
        </div>

        <div class="display-label">CreateDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.CreateDate) %></div>
        
        <div class="display-label">Id</div>
        <div class="display-field"><%: Model.Id %></div>
        
        <div class="display-label">Mount</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.Mount) %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

